from django.urls import path

from cyhy.views import CyhyViewSet

urlpatterns = [
    path(r'getGjclxs', CyhyViewSet.as_view({'get': 'get_gjclxs'}), name='getGjclxs'),
    path(r'getHylrfz', CyhyViewSet.as_view({'get': 'get_hylrfz'}), name='getHylrfz'),
    path(r'getSdzjbz', CyhyViewSet.as_view({'get': 'get_sdzjbz'}), name='getSdzjbz'),
    path(r'export', CyhyViewSet.as_view({'post': 'export_to_excel'}), name='export_to_excel'),
    path(r'predict', CyhyViewSet.as_view({'post': 'predict'}), name='predict')
]